package com.crm.customers.service;

import com.crm.customers.model.Commission;

public interface CommissionService {
	
	/**
	 * 保存代办
	 * */
	public Commission saveCommission(Commission c) throws Exception;
	
	/**
	 * 根据id获取代办信息
	 * */
	public Commission getcommissionInfoById(Commission c);
	
	/**
	 * 更新代办状态
	 * */
	public int updateCommissionApprovestate(Commission c);
	
	/**
	 * 提交代办审批
	 * */
	public int approveCommission(Commission c) throws Exception;
	
	/**
	 * 获取被驳回审批理由
	 * */
	public String getOverruleReason(Commission c);
	
	/**
	 * 根据日期获取代办总额
	 * */
	public Integer getCommMoneyByCreatedate(Commission c);
}
